from django.urls import re_path, path, include
from rest_framework import routers
from . import views

router = routers.DefaultRouter()
# router.register(r"index", views.HelloWorld, basename="00测试页面")
router.register(r"wxInfoList", views.AllinpayWxchatPosViewSet,
                basename="10微信商户信息")

router.register(r"wxPayList", views.AllinpayWxpayListViewSet,
                basename="20微信收单资费套餐")
# router.register(
#     r"Statics", views.AllinpayStaticnavListViewSet, basename="02场所静态资源"
# )
# router.register(
#     r"State", views.AllinpayStaticstateListViewSet, basename="03场所终端状态"
# )
# router.register(r"Conf", views.AllinpayStaticnavConfViewSet, basename="04场所咨客配置")
# router.register(
#     r"Place", views.NavMapAllinpayPlaceListViewSet, basename="05场所基础信息"
# )

urlpatterns = [
    path("", include(router.urls)),
]
